Operator overload for [] operator

Posted by viswanathan on Stack Overflow See other posts from Stack Overflow or by viswanathan
Published on 2010-04-27T04:24:21Z Indexed on 2010/04/27 4:33 UTC
Read the original article Hit count: 359

Filed under:
|

Why would you need to overload the [] operator? I have never come across a practical scenario where this was necessary. Can somebody tell me a practical use case for this.

© Stack Overflow or respective owner

Related posts about c++

Related posts about operator-overloading